import http from "./http";
// http://localhost:12345/api/order/getOrderList/
export const OrderListApi=(username)=>{
    return http({
        url:'http://localhost:12345/api/order/getOrderList/'+username,
        method:'GET'
    })
}
// http://localhost:12345/api/order/paysuccess/
export const paysuccessApi=(orderId)=>{
    return http({
        url:'http://localhost:12345/api/order/paysuccess/'+orderId,
        method:'GET'
    })
}